home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / science / simst35.zip / INSTALL._D2 / COMMAND.DOC < prev    next >
Text File  |  1994-09-16  |  86KB  |  1,658 lines

  1.                     USING THE SIMSTAT COMMAND LANGUAGE
  2.                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4.      ITRODUCTION
  5.      ~~~~~~~~~~~
  6.      While  SIMSTAT pulldown  menus and  open panels  allow you  to do
  7.      almost everything  you  need,  it is  also  possible  to  perform
  8.      analysis  using the  SIMSTAT batch  command language.   But,  why
  9.      should you  bother using this  the script language if  you can do
  10.      all you need with  the user interface?   First, using the  script
  11.      language  allows you  to  keep  track of  what  you did  in  your
  12.      analysis.   This may prove very  useful if you want  to come back
  13.      later  and inspect  what you  did or  if you  have to  provide to
  14.      someone else a detailed description of your analyses.  The second
  15.      advantage,  is  that  it   allows  you  to  automate  statistical
  16.      processing of your data  files.  Often, you will  have to perform
  17.      identical series of  analysis on  the same data  file on  several
  18.      occasions  such as  every month  or every  year.   It may  become
  19.      easier  and faster  to  resubmit the  same  script file  than  to
  20.      remember all  what you  did and  do it again  with the  menus and
  21.      dialog boxes.   You may also want to  perform similar analyses on
  22.      different data files.   In that situation, modifying  an existing
  23.      script file  may be more  efficient than  starting from  scratch.
  24.      Another reason to use the script language is that you may want to
  25.      write sets of procedures  that would be executed by  someone else
  26.      less familiar with  statistics or with the  operation of SIMSTAT.
  27.      But SIMSTAT's  script language goes beyond  the simple automation
  28.      of statistical analysis and provides some commands that allows to
  29.      write  interactive  tutorials,  demonstration  programs  or  even
  30.      applications  to be used by someone else.  Those special commands
  31.      let you  to display textual  information, wait  for a  key to  be
  32.      pressed, ask questions, construct bouncing bar menus, play music,
  33.      etc..  This  script language also provides some  new capabilities
  34.      not available through menus and option panels such as the ability
  35.      to  set graphs'  options (title,  axis labels  and scales,  etc.)
  36.      prior to an analysis.
  37.  
  38.      SIMSTAT  script files are plain text files and can be created and
  39.      edited from outside the program  using almost any word processor.
  40.      A script  file must have an  extension of .SCR before  it will be
  41.      recognized  by SIMSTAT.  When  using a word  processor, make sure
  42.      that you  save the script  file as  a plain ASCII  file.   Script
  43.      files  can also be created  and edited from  within SIMSTAT using
  44.      the same external text editor used to edit ASCII data files.
  45.  
  46.      SIMSTAT can  also execute  encrypted and compressed  script files
  47.      with an .SCX extension.   Once you have developed a program,  you
  48.      may  want  to prevent  other from  altering  your source  file or
  49.      simply  hide its content.  One reason  would be to make sure that
  50.      no one else will commercialize your entire program or parts of it
  51.      under  their  own  name.    It may  also  be  useful  to  prevent
  52.      unauthorized  changes to the original  program or, in the context
  53.      of computer  assisted instruction,  it may  be useful  to prevent
  54.      students  to cheat  by looking  at  your code.   A  small utility
  55.      program called  SCR2SCX provided  with the registered  version of
  56.      SIMSTAT allows the  user to  create a special  file (.SCX)  which
  57.      contain  an  encrypted and  compressed  version  of the  original
  58.      program (.SCR).   The resulting  file will be  about 30%  smaller
  59.      than the original file and may be run from within SIMSTAT just as
  60.      any other  script file.  However,  it can no longer  be viewed or
  61.      edited either form within SIMSTAT or from an external editor.
  62.  
  63.      The SIMSTAT script language currently provides more than 60 built
  64.      in  commands.   You  will find  below  the various  commands  and
  65.      keywords and detailed information about the syntax requirement.
  66.  
  67.      OPEN
  68.      ~~~~
  69.      The OPEN command is used to select an existing script file.  This
  70.      command  pulls  down a  window that  lists  all script  files and
  71.      subdirectories.   Using the arrow keys,  position the highlighted
  72.      bar on the file you want to  use, then press the <Enter> to  open
  73.      it.    If the  file  is not  in  the default  directory,  you can
  74.      navigate through directories by  highlighting a subdirectory  and
  75.      pressing  <Enter> to change to that  directory.  To open a script
  76.      file  on a different drive, press <F3> and select the appropriate
  77.      drive letter.
  78.  
  79.      NEW
  80.      ~~~
  81.      The  NEW command allows  you to create  a new script  file.  When
  82.      this  command is chosen, the program asks for a file name without
  83.      extension  (the  .SCR extension  is  automatically  added to  the
  84.      filename).   If a file with that name already exists on the disk,
  85.      SIMSTAT  will ask  if you wish  to replace  it.   By default, the
  86.      script file is created in the default directory.   Enter the full
  87.      path name to store it in another directory.
  88.  
  89.      EDIT
  90.      ~~~~
  91.      The  EDIT option allows you to edit  the current script file.  If
  92.      no script  file is currently  selected, the program  will display
  93.      the  file listing windows allowing you to choose a script file to
  94.      edit.  SIMSTAT  uses the same  text editor than  the one used  to
  95.      edit ASCII data  files.  If your copy of  SIMSTAT is not properly
  96.      configured  to access an external  text editor, you  will need to
  97.      provide  the name  and  location  of  such  a  program  (see  I/O
  98.      Options).   While SIMSTAT does  not provide its  own editor, most
  99.      recent DOS  versions  come with  such  a program  (usually  named
  100.      EDIT.EXE  or EDIT.COM).  There  are also many excellent shareware
  101.      text  editors such  as QEDIT,  BOXER or  VISED that  provide more
  102.      advance  features such  as  macros,  multiple  document  editing,
  103.      speller, etc..
  104.  
  105.      RUN
  106.      ~~~
  107.      The RUN command is used to execute a script file.  If there is no
  108.      script  file  currently  selected,  the program  will  display  a
  109.      directory listing showing  all the script  files available.   Use
  110.      the cursor  keys to move the highlighted bar through the list and
  111.      press the <Enter> key to  run the highlighted file.  If  a script
  112.      file is already  selected, its  name will appear  beside the  RUN
  113.      command.   Selecting  this command  will immediately  execute the
  114.      file.
  115.  
  116.      It is  always possible  to stop the  execution of the  program by
  117.      pressing the  <Esc> key.  A dialog box will appear giving you the
  118.      choice  to stop or resume the execution  of the program.  You can
  119.      also run  a SIMSTAT script  file directly from the  DOS prompt by
  120.      typing  the name  of the  program  as the  first parameter.   For
  121.      example, the following command:
  122.  
  123.           SIMSTAT DEMO.SCR
  124.  
  125.      will automatically  start executing the commands  included in the
  126.      DEMO.SCR script file.
  127.  
  128.      RECORD ON/OFF
  129.      ~~~~~~~~~~~~~
  130.      When activated, this feature  will automatically generate  proper
  131.      commands  corresponding to  the  action you  undertake using  the
  132.      menus  and options panels and save them in the currently selected
  133.      script  file.  To activate this feature, select the RECORD option
  134.      from the COMMAND SCRIPT menu.  The "Rec" keyword should appear on
  135.      the status line.  From  now on, almost everything you do  will be
  136.      recorded  by SIMSTAT in the  active script file.   To desactivate
  137.      this feature, perform the same steps a second time.  You can also
  138.      press  the <Shift-F8> key combination to toggle the RECORD script
  139.      feature on and off.
  140.  
  141.      The  extensive correspondence  between the  commands/keywords and
  142.      the options available through  the panels greatly facilitates the
  143.      learning of the script language syntax.  However, the easiest way
  144.      for a beginner  to write  but also to  become familiar with  this
  145.      syntax  and  the various  keywords is  to  use the  RECORD script
  146.      feature.   You  can  experiment by  performing some  analysis and
  147.      looking  closely at the commands generated.  This feature is also
  148.      an efficient method to write script files rapidly and easily.
  149.  
  150.      GENERAL COMMAND STRUCTURE
  151.      ~~~~~~~~~~~~~~~~~~~~~~~~~
  152.      This  section presents  the elements  used to present  the syntax
  153.      conventions  of  the  various   commands  and  options.    Unless
  154.      specified otherwise, you can type commands  and options in either
  155.      uppercase  or lowercase  letters.  You will  find  below a  short
  156.      description of those elements.
  157.  
  158.        UPPERCASE         Items  in  capital   letters  are   keywords.
  159.                          Keywords are a required part of the statement
  160.                          syntax,  unless they are enclosed in brackets
  161.                          or specified  as optional.   You may  shorten
  162.                          commands to the first four letters.  The only
  163.                          exceptions are the BOOTSTRAP1 and BOOTSTRAP2.
  164.  
  165.        lowercase         Items  in  lowercase  are   placeholders  for
  166.                          information you must supply in the statement.
  167.                          Several types of  information can be required
  168.                          such as:
  169.  
  170.                variable       A single variable name.
  171.  
  172.                varlist        One or several variable names.  A set of
  173.                               consecutive variables  can be designated
  174.                               by  typing the  first and  last variable
  175.                               names separated by two  dots (..).   For
  176.                               example the DEPRES1..DEPRES29 expression
  177.                               refers  to  all  the  variables  in  the
  178.                               active file starting from DEPRES1 up to,
  179.                               and including DEPRES29.  A variable list
  180.                               can span over several lines.
  181.  
  182.                filename       A filename with a  valid extension.   By
  183.                               default the file is assumed to reside in
  184.                               the starting  directory.  To refer  to a
  185.                               file  in  another location,  specify the
  186.                               full path name.
  187.  
  188.                integer / int  Integer value.   You can  either use  an
  189.                               equal  sign '='  between the  option and
  190.                               the integer or  put the integer  between
  191.                               parenthesis.
  192.  
  193.                real           Real value.   May  be entered  as either
  194.                               normal or scientific  notation, and  can
  195.                               be put after  an equal  sign or  between
  196.                               parenthesis.
  197.  
  198.                color          A  keyword representing a  color.  Valid
  199.                               keywords are:
  200.  
  201.                                    BLACK          DARKGRAY
  202.                                    BLUE           LIGHTBLUE
  203.                                    GREEN          LIGTHGREEN
  204.                                    CYAN           LIGHTCYAN
  205.                                    RED            LIGHTRED
  206.                                    MAGENTA        LIGHTMAGENTA
  207.                                    BROWN          YELLOW
  208.                                    LIGHTGRAY      WHITE
  209.  
  210.                string         A  string  of  alphabetical  as  well as
  211.                               numeric   character.     Some   commands
  212.                               require  the  string   to  be   enclosed
  213.                               between quotation marks (").
  214.  
  215.        [ ]               Items inside square brackets are optional.
  216.  
  217.        |                 A vertical bar indicates a choice between two
  218.                          or more items.
  219.  
  220.        item, ...         A horizontal three-dot ellipsis means more of
  221.                          the  preceding   items  can  be   used  in  a
  222.                          single-line statement.
  223.  
  224.        keyword           A vertical three-dot ellipsis is used to
  225.        .                 indicate block-structured statements. Textual
  226.        .                 information can be put between the beginning
  227.        .                 and end of the block.
  228.        ending keyword
  229.  
  230.  
  231.        *                 Comments can be inserted anywhere in the file
  232.                          by   placing   an  asterisk   as   the  first
  233.                          character.
  234.  
  235.        {}                Comments can also be included anywhere within
  236.                          a command by enclosing them between braces.
  237.  
  238.        PANEL             The PANEL keyword can be used with almost any
  239.                          statistical analysis command  to display  the
  240.                          options  panel  associated with  the command,
  241.                          allowing the user to change any option before
  242.                          performing the analysis.
  243.  
  244.        ;                 The  ';'  character  is  used  as  a  command
  245.                          terminator.  Each  command must end with  the
  246.                          ';' character.
  247.  
  248.        :                 A colon at the  beginning of a line indicates
  249.                          the  presence  of  a  label.  (see  the  GOTO
  250.                          command)
  251.  
  252.        /                 The slash '/'  character is used to  separate
  253.                          the various  options from the command and the
  254.                          variables.  While only one slash is required,
  255.                          it is  also possible to include  more slashed
  256.                          to  visually  separate   various  groups   of
  257.                          options.
  258.  
  259.      It is always possible to  spread a long command on  several lines
  260.      or even insert blank  lines within a command.  The semi-colon ';'
  261.      character is always used to indicate the end of the command.
  262.  
  263.      SIMSTAT provides  ten numeric  ($NUM0 to $NUM9)  and alphanumeric
  264.      ($STR0 to $STR9) variables that  can be set by the user  with the
  265.      GETNUM  and GETSTR  commands.    Those  variable's names  can  be
  266.      inserted  in  other  commands.     When  a  variable's  name   is
  267.      encountered within a command, it is automatically replaced by the
  268.      value stored in that variable.
  269.  
  270.  
  271.  
  272.      ONE LINE DESCRIPTION OF COMMANDS
  273.      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  274.         GLOBAL VARIABLES:
  275.         ~~~~~~~~~~~~~~~~
  276.           $ANSWER          Stores the last key  pressed in response to
  277.                            a BOX or QBOX command.
  278.           $ITEM            Stores the item number selected by the user
  279.                            from   a  bouncing   bar  menu   (see  MENU
  280.                            command).
  281.           $MONO            Boolean  variable which  become  true if  a
  282.                            monochrome system is detected or if SIMSTAT
  283.                            was started with the /M switch.
  284.           $NUM0..$NUM9     Predefined  numeric  variables (see  GETNUM
  285.                            command).
  286.           $STR0..$STR9     Predefined  string  variables  (see  GETSTR
  287.                            command).
  288.  
  289.         FILE/DATA COMMANDS:
  290.         ~~~~~~~~~~~~~~~~~~
  291.           DATA / ENDDATA   Defines   variables   and   values  to   be
  292.                            analyzed.
  293.           OPEN             Reads a data file.
  294.           SELECT           Selects cases for  analysis upon a  logical
  295.                            expression.
  296.           WEIGHT           Selects/unselects a weighting variable.
  297.           GRAPH            Sets or overrides graph's default options.
  298.           TITLE            Specifies the title that appears at the top
  299.                            of analyses.
  300.  
  301.         USER INTERFACE COMMANDS:
  302.         ~~~~~~~~~~~~~~~~~~~~~~~~
  303.           BOX / ENDBOX     Displays a window with textual information.
  304.           IBOX / ENDBOX    Displays  a  permanent window  with textual
  305.                            information.
  306.           QBOX             Displays a single line message/question.
  307.           CLS              Clears the screen.
  308.           ECHO             Displays  a  string  to  the  screen,  disk
  309.                            and/or printer.
  310.           MENU / ENDMENU   Displays a bouncing bar menu.
  311.           SOUND            Generates  a  sound through  the computer's
  312.                            speaker.
  313.           SET              Changes various I/O options.
  314.  
  315.         FLOW CONTROL COMMANDS:
  316.         ~~~~~~~~~~~~~~~~~~~~~
  317.           IF               Carries out a command  based on a specified
  318.                            condition.
  319.           GOTO             Branches  to another  part  of the  program
  320.                            defined by a label.
  321.           GOSUB / RETURN   Branches to and returns from a subroutine.
  322.           CALL             Runs another script program and returns.
  323.           RUN              Runs another script program (no return).
  324.           SHELL            Runs  an  external  program or  temporarily
  325.                            shell to DOS.
  326.           PAUSE            Temporarily stops a program until  a key is
  327.                            pressed.
  328.           QUIT             Quits SIMSTAT.
  329.           STOP             Stops the script and returns to the SIMSTAT
  330.                            menu.
  331.  
  332.         STATISTICAL ANALYSIS COMMANDS:
  333.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  334.           BINOMIAL         Binomial test
  335.           BOOTSTRAP1       Univariate bootstrap analysis
  336.           BOOTSTRAP2       Bivariate bootstrap analysis
  337.           BREAKDOWN        Breakdown analysis
  338.           CHISQUARE        Chi-square one sample test
  339.           CORRELATION      Correlation matrix
  340.           CROSSTAB         Contingency crosstabulation
  341.           DESC             Descriptive analysis
  342.           FULL             Full analysis on bootstrap samples
  343.           FREQUENCY        Frequency analysis
  344.           FRIEDMAN         Friedman test
  345.           GLMANOVA         GLM analysis of variance and covariance.
  346.           INTERRATERS      Interraters crosstabulation
  347.           KRUSKAL          Kruskal-Wallis Anova
  348.           KS1              Kolmogorov-Smirnov one sample test
  349.           KS2              Kolmogorov-Smirnov two sample test
  350.           LIST             Listing of data
  351.           LOGISTIC         Logistic regression
  352.           MANN             Mann-Whitney U, Wilcoxon W test
  353.           MCNEMAR          McNemar test
  354.           MEDIAN           Median test
  355.           MOSES            Moses test of extreme reactions
  356.           MRESPONSE        Multiple responses analysis
  357.           MULTREG          Multiple regression analysis
  358.           NPAR             Nonparametric association matrix
  359.           ONEWAY           Oneway analysis of variance
  360.           REGRESSION       Linear & nonlinear regression analysis
  361.           RELIABILITY      Reliability analysis
  362.           SCED             Single case experimental design
  363.           RANDOM           Random bivariate bootstrap analysis
  364.           RUNS             Runs test
  365.           SENSITIVITY      Sensitivity analysis (ROC curves)
  366.           SIGN             Sign test
  367.           T-TEST           T-Test (independent and paired)
  368.           TIME-SERIES      Time-series analysis
  369.           WILCOXON         Wilcoxon signed rank test
  370.  
  371.  
  372.  
  373.      COMMAND SYNTAX
  374.      ~~~~~~~~~~~~~~
  375.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  376.      BINOMIAL varlist BY varlist [/ options];
  377.  
  378.         Description: The  BINOMIAL test  allows you to  assess whether
  379.         the observed number of cases in a dichotomous variable  is the
  380.         same as that expected  from a specified binomial distribution.
  381.         The  observations can  be  divided either  below or  above the
  382.         mean,  the   median   or  a   user-specified   cutoff   value.
  383.         Alternatively, the  analysis can  also be restricted  to cases
  384.         equal to two specified values.   The user can also specify the
  385.         test proportion.
  386.  
  387.         Options:
  388.                                      Cutoff value
  389.            VALUE (real [,real])        Cuttoff value / values of X
  390.            | MEAN                      Mean
  391.            | MEDIAN                    Median
  392.            PROPORTION (real)         Test proportion (from 0 to 1)
  393.            PANEL                     Displays the options panel
  394.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  395.      BOOTSTRAP1 varlist [/ options];
  396.  
  397.         Description:  BOOTSTRAP1  performs  bootstrap  simulation   to
  398.         estimate  the  distribution  of descriptive  statistics  in  a
  399.         population (e.g. mean, median, variance).  The program draws a
  400.         specified number of observations  from the sample and computes
  401.         the  estimator for the subsample.  This procedure is performed
  402.         many times  (10 to  20,000 times).   The options allow  you to
  403.         display information about the estimator distribution including
  404.         descriptive statistics, frequency table, percentile  table and
  405.         histogram  of the  estimator distribution.   The  program also
  406.         computes nonparametric and bias corrected bootstrap confidence
  407.         intervals.
  408.  
  409.         Options:
  410.  
  411.            SIZE=integer              Size of each sample
  412.            SAMPLING=integer          Number of sampling
  413.            SEED=integer              Initial seed value
  414.                                      Choice of estimator
  415.            MEAN                        Mean
  416.            | VARIANCE                  Variance
  417.            | STDDEV                    Standard deviation
  418.            | STDERR                    Standard error
  419.            | MEDIAN                    Median
  420.            | KURTOSIS                  Kurtosis
  421.            | SKEWNESS                  Skewness
  422.            DESC                      Descriptive statistics
  423.            INTERVAL=real             Confidence intervals
  424.            PTILES=integer            Percentile table
  425.            HISTO                     Histogram
  426.              VERT | HORIZ              Orientation (text only)
  427.              MIN=real                  Minimum value
  428.              INC=real                  Increment value
  429.              NBAR=integer              Nb of bars/intervals
  430.              NORMAL                    Normal curve
  431.            PANEL                     Displays the options panel
  432.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  433.      BOOTSTRAP2 varlist BY varlist [/ options];
  434.  
  435.         Description:   The  BOOTSTRAP2   command  performs   bootstrap
  436.         resampling to  estimate the distribution of various estimators
  437.         in a given population (e.g. correlation, Tau-b).   The program
  438.         draws  a specified  number of pairs  of observations  from the
  439.         sample  and computes  the estimator  for the subsample.   This
  440.         procedure is  performed many times (10 to  20,000 times).  The
  441.         options allow  you to display information  about the estimator
  442.         distribution   including  descriptive   statistics,  frequency
  443.         table,  percentile   table  and  histogram  of  the  estimator
  444.         distribution.   The  program also  computes nonparametric  and
  445.         bias corrected  bootstrap confidence intervals, and  the power
  446.         rate of the estimator for 3 to 4 alpha levels.
  447.  
  448.         Options:
  449.  
  450.            SIZE=integer              Size of each sample
  451.            SAMPLING=integer          Number of sampling
  452.            SEED=integer              Initial seed value
  453.                                      Choice of statistics
  454.            TAU-A                       Kendall's Tau-A
  455.            | TAU-B                     Kendall's Tau-B
  456.            | TAU-C                     Kendall-Stuart's Tau-C
  457.            | D-SYM                     Somer's D symmetric
  458.            | D-XDEP                    Somer's D (X dependent)
  459.            | D-YDEP                    Somer's D (Y dependent)
  460.            | GAMMA                     Gamma
  461.            | RHO                       Spearman's Rho
  462.            | R                         Pearson's r
  463.            | SLOPE                     Regression slope
  464.            | INTERCEPT                 Regression intercept
  465.            | S-T                       Student's T
  466.            | S-F                       Student's F
  467.            | M-W                       Mann-Withney
  468.            | WILCOXON                  Wilcoxon (W value)
  469.            | SIGN                      Sign test (Z value)
  470.            | K-W                       Kruskal-Wallis
  471.            | MEDIAN                    Median test (Z value)
  472.            DESC                        Descriptive statistics
  473.            INTERVAL=real             Confidence interval
  474.            PTILES                    Percentile table
  475.            HISTO [=T | =G]           Histogram
  476.               VERT | HORIZ             Orientation
  477.            MIN=real                    Minimum value
  478.               INC=real                 Increment value
  479.               NBAR=integer             Nb of bars/intervals
  480.               NORMAL                   Normal curve
  481.            POWER=real                Statistical power analysis
  482.            PANEL                     Display the options panel
  483.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  484.      BOX [Options]
  485.       .
  486.  
  487.       .
  488.       .
  489.      ENBOX;
  490.  
  491.         Description: The  BOX command  displays a window  with textual
  492.         information.   By  default  the window  is  positioned in  the
  493.         middle  of the screen.   The COL  and ROW options  can also be
  494.         used to  specify  the  position of  the  window's  upper  left
  495.         corner. The  window stays  on screen until  a key  is pressed.
  496.         The KEY  option can  be  use to  restrict the  valid input  to
  497.         specific keys (letters or number).   The key pressed is stored
  498.         in a variable named $ANSWER (see  the IF command).  The  DELAY
  499.         option  allows  you to  insert  a  minimum delay  between  the
  500.         display of the box and the input  of a valid key.  The  colors
  501.         of the box can be altered using the COLOR option.  The default
  502.         colors can also be changed by using the SET COLOR command.
  503.  
  504.         Options:
  505.  
  506.            KEY=string of char        Valid keys
  507.            DELAY=integer             Length of delay (msec)
  508.            ROW=integer               Row of upper left corner
  509.            COL=integer               Column of upper left corner
  510.            COLOR color ON color      Foreground/background color
  511.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  512.      BREAKDOWN varlist BY varlist [/ options];
  513.  
  514.         Description:  The   BREAKDOWN  command  computes   descriptive
  515.         statistics for  various sub-groups within  the entire  sample.
  516.         Statistics are computed for each variable on the first list of
  517.         variable,  within groups defined  by the values  of the second
  518.         list (grouping  or independent variables).   This command also
  519.         allows you to obtain a  multiple Box-&-Whiskers plots that can
  520.         be used to compare the distribution of  the dependent variable
  521.         among several sub-groups.
  522.  
  523.         Options:
  524.  
  525.            DETAIL                    Detailed statistics
  526.            RANGE (int, int)          Range of X
  527.            BOXPLOT [=T | =G]         Box-&-Whiskers plot
  528.            PANEL                     Display the options panel
  529.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  530.      BROWSE;
  531.  
  532.         Description:  This procedure  calls  the  browsing feature  of
  533.         SIMSTAT and allows  the user to  review the previous  results.
  534.         The execution of the program  resume when the user presses the
  535.         ESC key.
  536.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  537.      CALL commandfile;
  538.  
  539.         Description:  This procedure  executes another  batch program.
  540.         After executing the external batch file, the program continues
  541.         at the  statement following the  CALL command (see  also RUN).
  542.         If  no   extension  is  provided,  the   ".CMD"  extension  is
  543.         automatically added to the command file name.
  544.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  545.      CHISQUARE varlist BY varlist [/ options];
  546.  
  547.         Description: The CHISQUARE command performs a  one-sample chi-
  548.         square  test  that  allows  to  assess   whether  there  is  a
  549.         difference  between the  observed number  of cases  in various
  550.         categories  and  the   expected  frequencies  in   those  same
  551.         categories.   The options  allow you  to restrict the  test to
  552.         specific values and to specify the expected frequencies.
  553.  
  554.         Options:
  555.  
  556.            VALUES (real real ...)    Excepted values
  557.            FREQ (real real ...)      Expected frequencies
  558.            PANEL                     Display the options panel
  559.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  560.      CLS;
  561.  
  562.        Description: Clear the screen.
  563.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  564.      CORRELATION varlist [BY varlist] [/ options];
  565.  
  566.         Description:  The CORRELATION  command  produces  a matrix  of
  567.         Pearson   correlation   coefficients    for   all   pairs   of
  568.         dependent-independent  variables.     If  only  one   list  of
  569.         variables is specified, the procedure produces a square matrix
  570.         where each  variable is treated as  dependent and independent.
  571.         You   can   request  either   exact   probabilities  for   the
  572.         coefficients  or  a display  of  asterisks  that indicate  the
  573.         probability levels attained. You can  also tell the program to
  574.         calculate probabilities  using  one- or  two-tailed tests,  to
  575.         compute confidence intervals of specified width and to display
  576.         a cross-product  deviation and  covariance tables.   A graphic
  577.         scatterplot can  also be  obtained with or  without regression
  578.         lines.
  579.  
  580.         Options:
  581.  
  582.            EXACT                     Exact probabilities / cases
  583.            1TAIL | 2TAIL             Direction of the test
  584.                                      Deletion of missing values
  585.            PAIRWISE                    Pairwise
  586.            | LISTWISE                  Listwise
  587.            CCSS                      Cross-product dev. & covar.
  588.            CI=integer                Confidence interval (width)
  589.            XYPLOT                    Scatterplot matrix
  590.              TREND                     Display regression lines
  591.            PANEL                     Display the options panel
  592.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  593.      CROSSTAB varlist BY varlist [/ options];
  594.  
  595.         Description: The CROSSTAB command computes a contingency table
  596.         for  two variables  where rows  represent all  the independent
  597.         variable  (x)  values  while  the columns  represent  all  the
  598.         dependent  (y)  variable  values.  The options  allow  you  to
  599.         include various statistics in the table and obtain measures of
  600.         association  for nominal  level (chi-square,  phi, contingency
  601.         coefficient) and  ordinal level (gamma,  tau-b, tau-c, Somer's
  602.         d,  etc.) variables.   It  also allows  you to  display a  3-d
  603.         barchart of the two variables.
  604.  
  605.         Options:
  606.                                      Sort table by
  607.            FREQ                        Ascending frequency
  608.            | DFREQ                     Descending frequency
  609.            | VALUE                     Ascending value
  610.            | DVALUE                    Descending value
  611.            TABLE=string              Display table (content)
  612.            STAT=string               choice of statistics
  613.            BARCHART                  3-D barchart
  614.            PANEL                     Display the options panel
  615.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  616.      DATA
  617.       .
  618.       .
  619.       .
  620.      ENDDATA;
  621.  
  622.         Description: The DATA command allows you to  define data to be
  623.         analyzed by specifying variable's names and values.  The first
  624.         line  must contain  the variable's  name, while  the remaining
  625.         lines hold  the data.  SIMSTAT writes the embedded information
  626.         in  a  temporary  ASCII  file until  the  ENDDATA  keyword  is
  627.         encountered and automatically opens it for analysis.  For more
  628.         information on  the proper format  to use, see  information on
  629.         ASCII files format.
  630.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  631.      DELAY integer;
  632.  
  633.         Description: The DELAY command causes a delay in a program for
  634.         a specified number of milliseconds.
  635.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  636.      DESC varlist;
  637.  
  638.         Description:  The  DESC command  displays  the  mean, standard
  639.         deviation,  minimum  and  maximum  values  of  each  specified
  640.         variable.  To obtain other descriptive statistics such  as the
  641.         variance,  skewness,  kurtosis, mode,  median,  etc.,  see the
  642.         FREQUENCY command.
  643.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  644.      ECHO string;
  645.  
  646.         Description: The ECHO command sends  a string  to the  screen,
  647.         listing file, and/or the printer.
  648.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  649.      FULL [/ options] command [/ options];
  650.  
  651.         Description:  The FULL command allows  you to  perform various
  652.         statistical    analyses    such    as   frequency    analysis,
  653.         crosstabulation or multiple regression on successive bootstrap
  654.         samples.  The  first set of options allows  you set the sample
  655.         size and the number of samplings to be drawn from the original
  656.         sample.  A second  set allows you to specify which analysis to
  657.         perform and  set the  options normally available  when calling
  658.         the chosen  statistical procedure.  This second set of options
  659.         allows to control how the analysis is to be performed and what
  660.         statistics are to be printed.
  661.  
  662.         Options:
  663.  
  664.            SIZE=integer              Size of each sample
  665.            SAMPLING=integer          Number of sampling
  666.            SEED=integer              Initial seed value
  667.            PANEL                     Display the options panel
  668.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  669.      FREQUENCY varlist [/ options];
  670.  
  671.         Description:  The FREQUENCY command performs various frequency
  672.         and descriptive analysis on specified variables.  This command
  673.         also provides  a choice of  graphs for  either categorical  or
  674.         numeric variables.
  675.  
  676.         Options:
  677.  
  678.            TABLE | NOTABLE           Table of frequency
  679.            FREQ | VALUE              Sort table by frequency/value
  680.            DESC                      Descriptive statistics
  681.            CI=integer                Confidence interval width
  682.            PTILES=integer            Percentiles table
  683.            BARCHART [=T | =G]        Bar chart
  684.            PIE                       Pie chart
  685.            PARETO                    Pareto chart
  686.            BOXPLOT [=T | =G]         Box-&-whiskers plot
  687.            CUMUL                     Cumulative frequency plot
  688.            PPLOT                     Normal probability plot
  689.            HISTO [=T | =G]           Histogram
  690.               VERT | HORIZ             Orientation
  691.               NBAR=integer             Number of bars/intervals
  692.               MIN=real                 Minimum value
  693.               INC=real                 Increment/width
  694.               NORMAL                   Normal curve
  695.            PANEL                     Display the options panel
  696.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  697.      FRIEDMAN varlist;
  698.  
  699.         Description:  The FRIEDMAN test  is  a  procedure for  testing
  700.         whether  two or more related samples  have been drawn from the
  701.         same population.   The output displays the  mean rank of  each
  702.         variable, the  number of cases, chi-square,  degree of freedom
  703.         and probability value.
  704.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  705.      GETNUM [$NUMn] "sting" [options];
  706.  
  707.         Description:  The GETNUM command  allows you  to get a numeric
  708.         value  from the  user and store  the result  in one  of the 10
  709.         predefined  numeric variables  (from $NUM0  to $NUM9).   If no
  710.         variable is  specified, the  value is  stored in  the variable
  711.         named $NUM0.  When a value is already stored in  the specified
  712.         variable,  it will  be presented as  the default  value to the
  713.         user.   Use the CLEAR  option to  erase this value.   You  can
  714.         restrict the valid range of responses by using the  MIN and/or
  715.         the MAX options.  By default, the number of  decimal displayed
  716.         is set to 0 and user's input is restricted  to integer values.
  717.         The DEC  option can  be used to  alter the  number of  decimal
  718.         places  to display.    The  LEN option  can  also be  used  to
  719.         increase or decrease  the maximum length of  input. By default
  720.         the  dialog box  is positioned  in the  center of  the screen.
  721.         However,  the COL and  ROW options can be  used to specify the
  722.         position of the box's upper left corner.  While the  length of
  723.         the prompt  string is restricted to 60  characters, it is also
  724.         possible  to display  more detailed  information by  using the
  725.         IBOX  command.    When  a variable's  name  is  encountered in
  726.         another  command, it  is automatically  replaced by  the value
  727.         stored in that variable.
  728.  
  729.         Options:
  730.  
  731.            $NUMn                     Store in $NUM0 to $NUM9 (n stands
  732.                                      for single digit number between 0
  733.                                      and 9)
  734.            MIN=real                  Minimum value
  735.            MAX=real                  Maximum value
  736.            DEC=integer               Number of decimal places
  737.            LEN=integer               Maximum length of value
  738.            ROW=real                  Row of upper left corner
  739.            COL=real                  Column of upper left corner
  740.            CLEAR                     Clear previous value
  741.  
  742.         Examples:
  743.  
  744.         GETNUM "Sample size : " $NUM2 MIN=0 MAX=100 ROW=10 DEC=4;
  745.  
  746.         GETNUM "What is your age? " $NUM2 MIN=1  MAX=99;
  747.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  748.      GETSTR "sting" [options];
  749.  
  750.         Description:  The GETSTR command allows  you to  get  a string
  751.         value from  the user  and store  the result in  one of  the 10
  752.         predefined string  variables  (from $STR0  to $STR9).   If  no
  753.         variable  is specified,  the value is  stored in  the variable
  754.         named $STR0.  When a value  is already stored in the specified
  755.         variable, it  will be presented  as the  default value to  the
  756.         user.   Use  the CLEAR option  to erase  this value.   The LEN
  757.         option can also  be used to increase  or decrease the  maximum
  758.         length of  input.  By default the  dialog box is positioned in
  759.         the  center of the screen.   However, the  COL and ROW options
  760.         can be used  to specify the position  of the box's  upper left
  761.         corner.  While the  length of the prompt string  is restricted
  762.         to 60 characters, it is also possible to display more detailed
  763.         information by using the IBOX command.  When a variable's name
  764.         is  encountered  in  another   command,  it  is  automatically
  765.         replaced by the value stored in that variable.
  766.  
  767.         Options:
  768.  
  769.            $STRn                     Store in $NUM0 to $NUM9 (n stands
  770.                                      for single digit number between 0
  771.                                      and 9)
  772.            ROW=integer               Row of upper left corner
  773.            COL=integer               Column of upper left corner
  774.            CLEAR                     Clears previous value
  775.  
  776.         Examples:
  777.  
  778.            GETSTR "What is your name? "  $STR1 CLEAR;
  779.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  780.      GLMANOVA varlist BY varlist [/ options];
  781.  
  782.         Description: The  GLMANOVA command  provides a General  Linear
  783.         Model implementation of  analysis of variance and  covariance.
  784.         It  can  handle  balanced  and unbalanced  ANOVA  designs  and
  785.         support models with categorical and/or quantitative variables.
  786.         The procedure  can also be  used to perform  standard multiple
  787.         regression problems  that involve interaction  terms.  Various
  788.         adjustment  methods   for  unequal  cell  size   are  provided
  789.         including a hierarchical  strategy where the user  can set the
  790.         order of  entry of each  variable in  the model.   The various
  791.         options  allow you  to  display  standard  tables as  well  as
  792.         various  outputs usually  found in  ANOVA/ ANCOVA  or multiple
  793.         regression analyses.
  794.  
  795.         Options:
  796.  
  797.            COVAR (varlist)           Quantitative variables
  798.            INTERACTION (var*var*...  Interactions.
  799.              [var*var*...] ...)
  800.            STEP                      Show statistics at each step
  801.            MULTREG                   Multiple regression statistics
  802.            EQUATION                  Regression equation
  803.              CI=integer                Confidence interval
  804.            MEAN                      Adjusted means
  805.            CHANGE                    Test of changes in R square
  806.            CPLOT                     Residuals caseplot
  807.              OUTLIERS=real             Outliers criterion (s.d.)
  808.            RPLOT [=T | =G]           Residuals scatterplot
  809.            PPLOT                     Residuals normality plot
  810.            SAVE                      Save predicted and residuals
  811.            Adjustment method
  812.            REGRESSION                  Regression approach
  813.            | NONEXP                    Nonexperimental
  814.            | HIERARCHICAL              Hierarchical
  815.            ORDER (varlist) (varlist) Order of entry (hierachical)
  816.              [... > (varlist)]       (All  variables enumerated  after
  817.                                      the  > character are entered with
  818.                                      the interactions)
  819.            PANEL                     Display the options panel
  820.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  821.      GOTO label;
  822.  
  823.         Description:  This command branches  to  another  part of  the
  824.         program and  continue processing  the commands at  that point.
  825.         The line that the program is to switch is marked  with a label
  826.         preceded by a colon (:).
  827.  
  828.         Example:
  829.  
  830.            GOTO JanuaryStat;
  831.  
  832.            :JanuaryStat;
  833.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  834.      GOSUB label; / RETURN;
  835.  
  836.         Description:  This command branches  to  another  part of  the
  837.         program  and continue  processing the  commands at  that point
  838.         until  the RETURN  keyword is  encountered.  The  program then
  839.         continues  execution  at  the statement  following  the  GOSUB
  840.         command;
  841.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  842.      GRAPH [options];
  843.  
  844.         Description: The GRAPH command allows  you to set  or override
  845.         graphs' default options.
  846.  
  847.         Options:
  848.  
  849.            3D ON | OFF               Bar depth
  850.            GRIDX ON | OFF            Horizontal grid
  851.            GRIDY ON | OFF            Vertical grid
  852.            SCALEX  value,value       Horizontal axis limits
  853.            SCALEY  value,value       Vertical axis limits
  854.            TITLE  "string"           Title string
  855.            LABELX  "string"          Horizontal axis string
  856.            LABELY  "string"          Vertical axis string
  857.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  858.      IBOX [Options]
  859.       .
  860.       .
  861.       .
  862.      ENBOX;
  863.  
  864.         Description:  This command  displays  a  window  with  textual
  865.         information.   The  window stays on  screen until  a menu (see
  866.         MENU), a  box (see BOX and  QBOX), or a dialog  (see GETNUM or
  867.         GETSTR)  is created  and removed.   This command  is useful to
  868.         display  additional information  on screen.   By  default, the
  869.         window is positioned in the center of the screen.  The COL and
  870.         ROW options can  also be used  to specify the position  of the
  871.         window's upper  left corner.  The  colors of  the box  can  be
  872.         altered using  the COLOR option.  The  default colors can also
  873.         be changed by using the SET COLOR command.
  874.  
  875.         Options:
  876.  
  877.            COLOR color ON color      Foreground/background color
  878.            ROW=integer               Row of upper left corner
  879.            COL=integer               Column of upper left corner
  880.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  881.      IF expression [THEN] command;
  882.  
  883.         Description: The IF command allows to specify a condition that
  884.         must be met for a command to be carried out.  If the condition
  885.         if  true, the command is executed.  If the condition is false,
  886.         the  command is ignored.   The $ANSWER variable  refers to the
  887.         last key pressed in response to a text box obtained by the BOX
  888.         or the QBOX  commands.  The  $ITEM option  refers to the  menu
  889.         item  number selected by the user  from a menu produced by the
  890.         MENU  command.   The  $MONO boolean  is  true if  a monochrome
  891.         system  is  detected or  if SIMSTAT  was  started with  the /M
  892.         switch.   It is also possible to check specific values against
  893.         the numeric (i.e.  $NUM0 to $NUM9) or alphanumeric (i.e. $STR0
  894.         to $STR9) variables entered by  the user.  When used with  the
  895.         GOTO command, this command can increase the flexibility of the
  896.         program  by allowing  to  switch  to  different parts  of  the
  897.         program under certain conditions.
  898.  
  899.         Valid expressions:
  900.  
  901.            $ANSWER =, <, >, <>, <=, => character
  902.            $ITEM =, <, >, <>, <=, => number
  903.            $NUMn =, <, >, <>, <=, =>  number
  904.            $STRn =, <> "string"
  905.            $MONO
  906.  
  907.         Examples:
  908.  
  909.            IF $ANSWER = Q STOP;
  910.            IF $MONO SET COLOR WHITE ON BLACK;
  911.            IF $ITEM = 3 GOTO TUTORIAL;
  912.            IF $NUM1 >= 10 GOSUB ERROR;
  913.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  914.      INTERRATERS varlist BY varlist [/ options];
  915.  
  916.         Description:  The INTERRATERS  command produces an inter-rater
  917.         agreement table that consists of a square table where rows and
  918.         columns contain  the same  categories used in  both variables.
  919.         Seven   different  inter-rater  agreement  measures  are  also
  920.         printed with the table.
  921.  
  922.         Options:
  923.                                      Sort table by...
  924.            FREQ                        Ascending frequency
  925.            | DFREQ                     Descending frequency
  926.            | VALUE                     Ascending value
  927.            | DVALUE                    Descending value
  928.            TABLE=string              Display table (content)
  929.            BARCHART                  3-D Barchart
  930.            PANEL                     Display the options panel
  931.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  932.      KRUSKAL varlist BY varlist [/ options];
  933.  
  934.         Description:  The KRUSKAL  command  performs  a Kruskal-Wallis
  935.         one-way  analysis of  variance  by ranks  is  a procedure  for
  936.         testing  whether k number of  groups have been  drawn from the
  937.         same  population.  This test is a nonparametric version of the
  938.         one-way analysis of variance.  The output displays  the number
  939.         of valid cases, the mean rank  of the variable in each  group,
  940.         chi-square and its probability with a correction for ties.
  941.  
  942.         Options:
  943.  
  944.            RANGE (int, int)          Range of X
  945.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  946.      KS1 varlist BY varlist [/ options];
  947.  
  948.         Description: The  KS1 command  (Kolmogorov-Smirnov  one-sample
  949.         test)  compares the  distribution of  each variable  against a
  950.         standard normal  distribution  or a  uniform distribution.  It
  951.         tests whether  the sample  data can reasonably  be thought  to
  952.         have   come  from   a   population  having   this  theoretical
  953.         distribution.
  954.  
  955.         Options:
  956.                                      Type of distribution
  957.            NORMAL                      Normal distribution
  958.            | UNIFORM                   Uniform distribution
  959.            VALUES (real, real)       Mean and standard deviation  of a
  960.                                      normal  distribution  or  minimum
  961.                                      and   maximum    of   a   uniform
  962.                                      distribution
  963.            PANEL                     Display the options panel
  964.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  965.      KS2 varlist BY varlist [/ options];
  966.  
  967.         Description:  The  KS2 command (Kolmogorov-Smirnov  two-sample
  968.         test)  evaluates whether a dependent variable (Y) has the same
  969.         distribution  in  two  independent  samples as  defined  by  a
  970.         grouping variable  (X). This test is  sensitive to differences
  971.         in  the  shape,  location,  and   scale  of  the  two   sample
  972.         distributions.
  973.  
  974.         Options:
  975.  
  976.            VALUES (int, int)         Values of independent variable
  977.            PANEL                     Display the options panel
  978.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  979.      LIST varlist [/ N=integer];
  980.  
  981.         Description: The LIST command displays a listing of the values
  982.         of  the specified  variables.   The  N option  can  be use  to
  983.         restrict the listing to the first N cases in the file.
  984.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  985.      LOGISTIC varlist [/ options];
  986.  
  987.         *** REQUIRES THE REGISTERED VERSION ***
  988.  
  989.         Description:  The LOGISTIC command  fits  a  multiple logistic
  990.         regression model  on a binary  response  variable  with one or
  991.         several explanatory variables.  Output includes the likelihood
  992.         ratio statistic for overall significance, parameter estimates,
  993.         exponentiated parameter  estimates  (which are the odds ratios
  994.         corresponding to a unit change  in the independent variables),
  995.         Wald statistics  for  assessing  the  effects  of  independent
  996.         variables,  and  confidence  intervals  for   the   regression
  997.         parameters.
  998.  
  999.         Options:
  1000.  
  1001.            VALUES (integer,integer)   Values of success and failure
  1002.            NOCONSTANT                 Exclude constant in the model
  1003.            ITER                       Show iterations
  1004.            CTABLE                     Classification table
  1005.            LRATIO                     Likelihood ratio statistics
  1006.            CI=real                    Confidence interval width
  1007.            TOLERANCE=real             Tolerance level
  1008.            INTERACTION var*var        Intercation terms
  1009.              [var*var*...]            
  1010.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1011.      MANN varlist BY varlist [/ options];
  1012.  
  1013.         Description: The MANN command  produces a Mann-Whitney  U test
  1014.         that evaluates  the  hypothesis that  two independent  samples
  1015.         have  the  same  distribution.   The  Mann-Whitney  U  is  the
  1016.         nonparametric version  of the t-test  for independent samples.
  1017.         This test is performed on the dependent variable  divided into
  1018.         two  groups as defined by values of the independent (grouping)
  1019.         variable.   The probability test  performed can be either one-
  1020.         or two-tailed.
  1021.  
  1022.         Options:
  1023.  
  1024.            VALUES (int,int)          Values of independent variable
  1025.            1TAIL | 2TAIL             Direction of test
  1026.            PANEL                     Display the options panel
  1027.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1028.      MCNEMAR varlist BY varlist [/ options];
  1029.  
  1030.         Description: The McNEMAR test is a procedure applied to a pair
  1031.         of correlated dichotomous variables to test whether there is a
  1032.         significant  difference in proportions of subjects that change
  1033.         from one category  to another.   A  binomial test  is used  to
  1034.         compute  the significance level when the  number of changes is
  1035.         less  than 10.   Otherwise,  a  chi-square statistic  with the
  1036.         Yates correction for continuity is used.
  1037.  
  1038.         Options:
  1039.  
  1040.            VALUES (int,int)          Values of independent variable
  1041.            1TAIL | 2TAIL             Direction of the test
  1042.            PANEL                     Display the options panel
  1043.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1044.      MEDIAN varlist BY varlist [/ options];
  1045.  
  1046.         Description:  The MEDIAN test  is a procedure to test  whether
  1047.         two or  more independent groups differ  in central tendencies.
  1048.         It  tests  the likelihood  that those  groups were  drawn from
  1049.         populations with  the same median.   The  output displays  the
  1050.         number  of cases  greater than,  less than,  and equal  to the
  1051.         median  for  each category  of  the grouping  variable.   Also
  1052.         displayed are  the median,  chi-square, degree of  freedom and
  1053.         probability value.
  1054.  
  1055.         Options:
  1056.  
  1057.            EXTENDED                  Extended median test
  1058.            VALUES (int, int)         Values or range of X
  1059.            PANEL                     Display the options panel
  1060.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1061.      MENU [options]
  1062.       .
  1063.       .
  1064.       .
  1065.      ENDMENU;
  1066.  
  1067.         Description: The MENU command  allows you to define a bouncing
  1068.         bar menu.  The maximum  number of items is 20 and  the maximum
  1069.         length of each menu option is  30 characters.  An optional '&'
  1070.         character can be inserted in the command file to specify a key
  1071.         that, when pressed  will select this  item.  The  ROW and  COL
  1072.         options  are  use  to  specify  the  position  of  the  menu's
  1073.         upperleft corner. If no ROW or COL is specified, the menu will
  1074.         be positioned in the middle of  the screen.  The item selected
  1075.         is stored in the $ITEM variable (see IF command).
  1076.  
  1077.         Options:
  1078.  
  1079.            ROW=integer               Row of upper left corner
  1080.            COL=integer               Column of upper left corner
  1081.  
  1082.         Example:
  1083.  
  1084.            MENU
  1085.            &Open
  1086.            &Save
  1087.            s&Ave as
  1088.            &Quit
  1089.            ENDMENU;
  1090.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1091.      MOSES varlist BY varlist [/ options];
  1092.  
  1093.         Description: The MOSES test of extreme reactions tests whether
  1094.         the range  of an  ordinal variable is  the same  in a  control
  1095.         group  as in  a  comparison group,  as defined  by  a grouping
  1096.         variable.  The output includes  counts for both groups, number
  1097.         of outliers removed,  the span of the control group before and
  1098.         after outliers are removed,  and one-tailed probability of the
  1099.         span with  and without outliers.  By  default, 5% of the cases
  1100.         are trimmed from each end of the range of the control group to
  1101.         remove outliers.
  1102.  
  1103.         Options:
  1104.  
  1105.            VALUES (int, int)         Values of independent variable
  1106.            OUTLIERS=integer          Number of outliers to remove
  1107.            PANEL                     Display the options panel
  1108.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1109.      MRESPONSE [MULTX, MULTY] analysis
  1110.  
  1111.         Description:  The MRESPONSE (multiple response) command allows
  1112.         you  to obtain frequency analyses and crosstabulation analyses
  1113.         on  variables  which  can  legitimately  have  more  than  one
  1114.         response.  These  multiple responses  are  stored  in as  many
  1115.         variables  as  necessary.   Choosing  all  these variables  as
  1116.         dependent  (X)  or independent  (Y)  variables  allows you  to
  1117.         gather  all these  responses and  treat them  as if  they were
  1118.         stored in a single variable.
  1119.  
  1120.         Options:
  1121.  
  1122.            MULTX                     Treat X as multiple responses
  1123.            MULTY                     Treat Y as multiple responses
  1124.            PANEL                     Display the options panel
  1125.            FREQ varlist [/ options];
  1126.            CROSSTAB varlist BY varlist [/ options];
  1127.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1128.      MULTREG varlist BY varlist [/ options];
  1129.  
  1130.         Description: The MULREG command allows you to perform multiple
  1131.         regression analysis to predict  a dependent variable from many
  1132.         independent  variables.   SIMSTAT provides  various regression
  1133.         methods  including  standard regression,  hierarchical  entry,
  1134.         forward  selection,  backward selection,  stepwise  selection.
  1135.         The  options  also  allow  you  to  display  a  wide  range of
  1136.         statistics and perform various test on residual values.
  1137.  
  1138.         Options:
  1139.                                      Type of regression
  1140.         HIERARCHICAL                   Hierarchical entry
  1141.            | FORWARD                   Forward selection
  1142.            | BACKWARD                  Backward elimination
  1143.            | STEPWISE                  Stepwise selection
  1144.            | STANDARD                  Enter all variables
  1145.            PIN=real                  P value to enter
  1146.            POUT=real                 P value to remove
  1147.            TOLERANCE=real            Minimum tolerance value
  1148.            STEP                      Show each step
  1149.            ANOVA                     Anova table
  1150.            CHANGE                    Test of changes in R-square
  1151.            HISTORY                   History of changes in R
  1152.            SUMMARY                   Summary anova table
  1153.            EQUATION                  Variables in the equation
  1154.            OUT                       Variables not in the equation
  1155.            CI=integer                Width of confidence interval
  1156.            CPLOT                     Casewise plot of residuals
  1157.              OUTLIERS=real             Outliers criterion (s.d.)
  1158.            RPLOT [=T | =G]           Residuals scatterplot
  1159.            PPLOT                     Normal plot of residuals
  1160.            SAVE                      Save predicted and residuals
  1161.            PANEL                     Display the options panel
  1162.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1163.      NONLIN varlist /
  1164.       .
  1165.       .   {any nonlin commands}
  1166.       .
  1167.      END;
  1168.  
  1169.         Description: The NONLIN command  allows to  perform nonlinear
  1170.         multiple regression (requires NONLIN v3.0 or later and SIM2NL
  1171.         v2.0).   SIMSTAT will  automatically  transfert the specified
  1172.         variables  from  the current  data file  to  NONLIN.  You may
  1173.         write almost  any NONLIN commands between the  '/'  delimiter
  1174.         and the  END  keyword  just like you  would do  when  running
  1175.         NONLIN  as a  standalone  program.   However,  the  VARIABLES
  1176.         command is not needed anymore and should not be used.
  1177.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1178.       NPAR varlist BY varlist [/ options];
  1179.  
  1180.         Description:  The NPAR command displays  a matrix  for various
  1181.         measures  of   associations   and  concordance   between   two
  1182.         variables.    The  options allow  to  obtain  count and  exact
  1183.         probability  of each  coefficient or  asterisks that  show the
  1184.         probability  level  reached.   This  probability  test can  be
  1185.         either one- or two-tailed.
  1186.  
  1187.         Options:
  1188.                                      Type of statistics
  1189.            TAU-A                       Kendall's Tau-a
  1190.            | TAU-B                     Kendall's Tau-b
  1191.            | TAU-C                     Kendall-Stuart's Tau-C
  1192.            | D-SYM                     Somer's D (symmetric)
  1193.            | D-XDEP                    Somer's D (X dependent)
  1194.            | D-YDEP                    Somer's D (Y dependent)
  1195.            | GAMMA                     Gamma
  1196.            | RHO                       Spearman's Rho
  1197.            | R                         Pearson's R
  1198.            EXACT                     Exact probabilities
  1199.            1TAIL | 2TAIL             Direction of test
  1200.                                      Deletion of missing values
  1201.            PAIRWISE                    Pairwise
  1202.            | LISTWISE                  Listwise
  1203.            PANEL                     Display the options panel
  1204.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1205.      ONEWAY varlist BY varlist [/ options];
  1206.  
  1207.         Description: The ONEWAY command performs a one-way analysis of
  1208.         variance for all dependent variables on groups defined by each
  1209.         categorical (numeric) independent  variable. It allows testing
  1210.         whether the  means of the groups (2 or more) are not all equal
  1211.         to each other.  ONEWAY provides  one-way variance analysis and
  1212.         a standard a table including between and within groups sums of
  1213.         squares, mean squares, and degrees of freedom, F-ratio and its
  1214.         associated  probability.  You can  also obtain for each group,
  1215.         descriptive   statistics   including  count,   mean,  standard
  1216.         deviation,  standard  error  and  a  user-specified confidence
  1217.         interval  for the mean.   Various measures of  effect size and
  1218.         post  hoc comparison can also  be obtained as  well as various
  1219.         graphs such as a barchart representing the mean of each group,
  1220.         an  error  bar diagram  or a  deviation  chart where  each bar
  1221.         represents either the standard  deviation, the standard  error
  1222.         or a user specified confidence interval.
  1223.  
  1224.         Options:
  1225.  
  1226.            RANGE (int,int)           Minimum and maximum values
  1227.            DESC                      Descriptive statistics
  1228.            CI=integer                Confidence interval width
  1229.                                      Post hoc test
  1230.              LSD                       Least significant difference
  1231.            | N-K                       Newman-Keuls
  1232.            | TUKEY                     Tukey's H.S.D
  1233.            | SCHEFFE                   Scheffé test
  1234.            BARCHART                  Barchart of cells mean
  1235.              CIBAR                     Confidence interval
  1236.              | SE                      Standard error
  1237.              | SD                      Standard deviation
  1238.            ERRORCHART                Error bar graph
  1239.              CIBAR                     Confidence interval
  1240.              | SE                      Standard error
  1241.              | SD                      Standard deviation
  1242.            DEVCHART                  Deviation chart
  1243.            PANEL                     Display the options panel
  1244.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1245.      OPEN filename;
  1246.  
  1247.         Description:  The  OPEN command  reads a data  file.   SIMSTAT
  1248.         recognizes five different file formats:
  1249.  
  1250.               1) SPSS/PC+ system files (.SYS or .SPS);
  1251.               2) SPSS for Windows data file (.SAV);
  1252.               3) dBASE III and IV files (.DBF);
  1253.               4) LOTUS 1-2-3 files (.WKS or .WK1);
  1254.               5) ASCII data files (.DAT, .TXT, or .CSV).
  1255.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1256.      PAUSE;
  1257.  
  1258.         Description:  The PAUSE command  momentarily  stops a  program
  1259.         until a key is pressed.
  1260.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1261.      QBOX "string" KEY=string of characters [options];
  1262.  
  1263.         Description: The QBOX command allows  you to display  a single
  1264.         line message or question to the screen.  By default the window
  1265.         is positioned  in the middle of  the screen.  The  COL and ROW
  1266.         options can  also  be used  to  specify  the position  of  the
  1267.         window's upper left corner.  The window  stays on screen until
  1268.         a key is pressed.   The KEY option can be use  to restrict the
  1269.         valid  input to specific  keys (letters  or number).   The key
  1270.         pressed  is stored  in a  variable named  $ANSWER.   The DELAY
  1271.         option  allows  you  to insert  a  minimum  delay between  the
  1272.         display of the box and  the input of a valid key.   The colors
  1273.         of the box can be altered using the COLOR option.  The default
  1274.         colors can also be changed by using the SET COLOR command.
  1275.  
  1276.         Options:
  1277.  
  1278.            KEY=string of char        Valid keys
  1279.            COLOR color ON color      Foreground/background color
  1280.            DELAY=integer             Length of delay
  1281.            ROW=integer               Row of upper left corner
  1282.            COL=integer               Column of upper left corner
  1283.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1284.      QUIT
  1285.  
  1286.         Description: This command takes you out of the SIMSTAT program.
  1287.         All opened files are closed before exiting the program.
  1288.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1289.      REGRESSION varlist BY varlist [/ options];
  1290.  
  1291.         Description: The REGRESSION command produces simple regression
  1292.         analysis  for  each pair  of  dependent-independent variables.
  1293.         SIMSTAT  lets you choose among linear  and 6 type of nonlinear
  1294.         regression.   The output  includes the Pearson  product-moment
  1295.         correlations, the intercept and  slope of the regression line,
  1296.         and an ANOVA  table for the equation.   Various options  allow
  1297.         you to  obtain a bivariate  scatterplot, to  select a one-  or
  1298.         two-tailed test of probabilities and to request a standardized
  1299.         residuals caseplot,  a  scatterplot  of  predicted  values  by
  1300.         standardize  residuals  or   a  normal  probability  plot   of
  1301.         residuals.
  1302.  
  1303.         Options:
  1304.  
  1305.                                      Type of regression
  1306.            LINEAR                      Linear regression
  1307.            | QUADRATIC                 Quadratic regression
  1308.            | CUBIC                     Cubic regression
  1309.            | 4TH                       4th degree polynomial
  1310.            | 5TH                       5th degree polynomial
  1311.            | INV                       Inverse regression
  1312.            | LOG                       Logarithmic regression
  1313.            | EXP                       Exponential regression
  1314.            1TAIL | 2TAIL             Direction of test
  1315.            XYPLOT [=T | =G]          Bivariate scatterplot
  1316.            CI=integer                Confidence interval width
  1317.            CPLOT                     Caseplot of residuals
  1318.              OUTLIERS=real             Outliers criterion (s.d.)
  1319.            RPLOT [=T | =G]           Residuals scatterplot
  1320.            PPLOT                     Probability plot of residuals
  1321.            SAVE                      Save predicted and residuals
  1322.            PANEL                     Display the options panel
  1323.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1324.      RELIABILITY varlist [BY varlist] [/ options];
  1325.  
  1326.         Description: The RELIABILITY command  provides a means to test
  1327.         the quality  of  multiple-item  additive  scales  through  the
  1328.     computation of reliability statistics.   The options available
  1329.         offer  the  possibility  to  obtain  various  item statistics,
  1330.         iter-item  variance-covariance and correlation matrices, total
  1331.         scale and item-total statistics. It also allows you to  verify
  1332.         the  reliability of the scale through  the use of a split-half
  1333.         method or  by computing  internal consistency measures.   Each
  1334.         selected variable is considered as a single item of the scale.
  1335.         The first and second lists or variables can be used to specify
  1336.         the division of items in two different subscales to be used in
  1337.         a split-half method.
  1338.  
  1339.         Options:
  1340.  
  1341.            ITEM                      Item statistics
  1342.            CORR                      Inter-item correlation matrix
  1343.            COVAR                     Variance/covariance matrix
  1344.            TOTAL                     Item-total statistics
  1345.            SPLIT                     Split-half reliability
  1346.            ALPHA                     Cronbach's Alpha
  1347.            PANEL                     Display the options panel
  1348.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1349.      RANDOM varlist BY varlist [/ options];
  1350.  
  1351.         Description: The  RANDOM command is similar to  the BOOTSTRAP2
  1352.         command  but  makes  the  null assumption  that  there  is  no
  1353.         difference or relation in the  population.  The program  draws
  1354.         from the sample  and for each  variable a specified  number of
  1355.         random   observations  with   replacement  and   computes  the
  1356.         estimator for  the subsample. The procedure  is performed many
  1357.         times (10 to 20,000  times).  The options allow you to display
  1358.         information   about  the   estimator  distribution   including
  1359.         descriptive statistics, frequency table, percentile  table and
  1360.         histogram  of  the estimator  distribution.  The program  also
  1361.         computes nonparametric and bias corrected bootstrap confidence
  1362.         intervals and type I error rate for up to 4 alpha levels.
  1363.  
  1364.         Options:
  1365.  
  1366.            SIZE=integer              Size of each sample
  1367.            SAMPLING=integer          Number of sampling
  1368.            SEED=integer              Initial seed value
  1369.                                      Choice of statistics
  1370.            TAU-A                       Kendall's Tau-A
  1371.            | TAU-B                     Kendall's Tau-B
  1372.            | TAU-C                     Kendall-Stuart's Tau-C
  1373.            | D-SYM                     Somer's D symmetric
  1374.            | D-XDEP                    Somer's D (X dependent)
  1375.            | D-YDEP                    Somer's D (Y dependent)
  1376.            | GAMMA                     Gamma
  1377.            | RHO                       Spearman's Rho
  1378.            | R                         Pearson's r
  1379.            | SLOPE                     Regression slope
  1380.            | INTERCEPT                 Regression intercept
  1381.            | S-T                       Student's T
  1382.            | S-F                       Student's F
  1383.            | M-W                       Mann-Withney
  1384.            | WILCOXON                  Wilcoxon (W value)
  1385.            | SIGN                      Sign test (Z value)
  1386.            | K-W                       Kruskal-Wallis
  1387.            | MEDIAN                    Median test (Z value)
  1388.            DESC                      Descriptive statistics
  1389.            INTERVAL=real             Confidence interval
  1390.            PTILES                    Percentile table
  1391.            HISTO [=T | =G]           Histogram
  1392.               VERT | HORIZ             Orientation
  1393.               MIN=real                 Minimum value
  1394.               INC=real                 Increment value
  1395.               NBAR=integer             Nb of bars/intervals
  1396.               NORMAL                   Normal curve
  1397.            ERRORRATE=real            Type I error rate
  1398.            PANEL                     Displays the options panels
  1399.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1400.      RUN commandfile;
  1401.  
  1402.         Description: The RUN command stops the execution of the current
  1403.         batch program to  run another batch file.  (see also the  CALL
  1404.         command)  If no extension is provided, the ".CMD" extension is
  1405.         automatically added to the command file name.
  1406.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1407.      RUNS varlist BY varlist [/ options];
  1408.  
  1409.         Description: The RUNS test is a procedure  to test whether the
  1410.         ordered  sequence  in  which  observations  were  obtained  is
  1411.         random. In order  to be performed,  such a test  requires that
  1412.         all values  be dichotomized  into two categories.  The options
  1413.         allow you  to separate  observations into two  distinct groups
  1414.         using  the mean,  the median  or a  user-specified value  as a
  1415.         cutoff point.
  1416.  
  1417.         Options:
  1418.                                      Type of cuttoff point
  1419.            MEAN                        Mean
  1420.            | MEDIAN                    Median
  1421.            | VALUE                     Value
  1422.            VALUES (int, int)         Values of X
  1423.            PANEL                     Display the options panel
  1424.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1425.      SCED varlist BY varlist [/ options];
  1426.  
  1427.         Description:   The  SCED  (single  case  experimental  design) 
  1428.     command provides some basic tools  to study  the effect of  an
  1429.         intervention on the behavior of a single subject.  It involves
  1430.         the repeated objective measurement of the behavior of a single
  1431.         subject  (dependent  variable)  over  a long  period  of  time
  1432.         interspersed   with  changes   in   the  treatment   condition
  1433.         (independent  variable). The  procedure will  display a  graph
  1434.         representing the  evolution of  the dependent variable  (Y) at
  1435.         various phases  defined by  the independent (X)  variable. The
  1436.         various  options allow  you to  obtain various  statistics for
  1437.         each  phase of the analysis  as well as  various graphic tools
  1438.         that  can  be  used  as  judgemental  aids  to   identify  the
  1439.         experimental  effect  of  the  intervention   (smoothed  data,
  1440.         split-middle trend, control bars).
  1441.  
  1442.         Options:
  1443.  
  1444.            BRIEF | DETAIL            Descriptive statistics
  1445.            CUMUL                     Cumulative frequency
  1446.            LOG                       Log transformation
  1447.            TREND                     Split-middle trend lines
  1448.                                      Smoothing technique
  1449.            MAVG (int int ...)          Moving average
  1450.            | RMED (int int ...)        Running median
  1451.            RBAR                      Control bars
  1452.              PCT=integer               Width of interval
  1453.              MIN=integer               Lower value
  1454.              MAX=integer               Higher value
  1455.            PANEL                     Display the options panel
  1456.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1457.      SELECT [string];
  1458.  
  1459.         Description:  The SELECT  command  allows  you  to temporarily
  1460.         selects  cases according to some logical  conditions.  You can
  1461.         use this command to  restrict your analysis to a  subsample of
  1462.         cases  or  to  temporarily   exclude  some  subjects.    These
  1463.         conditions  are specified  in  a logical  expression that  may
  1464.         consist  of a  simple expression  or include  many expressions
  1465.         related by logical  operators (AND, OR,  XOR).  The  selection
  1466.         stays effective until the logical expression is changed or the
  1467.         selection  deactivated.     When  used  alone,   this  command
  1468.         deactivates the previous selection.
  1469.  
  1470.         Examples:
  1471.  
  1472.            SELECT (AGE > 10) OR (SEX = 1);
  1473.  
  1474.            SELECT;       {deactivate the previous selection}
  1475.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1476.      SENSITIVITY varlist BY varlist [/ options];
  1477.  
  1478.         Description: The SENSITIVITY analysis allows one to assess the
  1479.         ability  of  a quantitative  measure  (X)  to differentiate  a
  1480.         dichotomous criterion  condition (Y) and provide guidelines to
  1481.         choose an  appropriate cutoff point.  The program provides for
  1482.         each  value   of  the   quantitative  measure  the   level  of
  1483.         sensitivity  (proportion of positive cases correctly diagnosed
  1484.         as  true)  and  specificity   (proportion  of  negative  cases
  1485.         correctly   diagnosed  as   false),  and  the   percentage  of
  1486.         false-positives and false-negatives.  This command also allows
  1487.         you to obtains a ROC (receiver operating characteristic) curve
  1488.         and an Error rate graph.
  1489.  
  1490.         Options:
  1491.  
  1492.            VALUE=real                Criterion value
  1493.            HIGH                      Scale orientation (ascending)
  1494.            SSTAT                     Sensitivity statistics
  1495.            ESTAT                     Error rates statistics
  1496.            ROC                       Roc curve graph
  1497.            ERROR                     Error rates graph
  1498.            PANEL                     Display the options panel
  1499.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1500.      SET [options];
  1501.  
  1502.         Description:  The SET command  allows you  to specify  various
  1503.         program configuration features, control the output of analysis
  1504.         to disk  and the printer,  and set  the default values  use by
  1505.         some statistical analysis.
  1506.  
  1507.         Options:
  1508.  
  1509.         COLOR color ON color         Foreground/background color
  1510.         1TAIL | 2TAIL                Default direction of test
  1511.         SOUND ON | OFF               Play sounds, beep on error
  1512.         FORMFEED ON | OFF            Formfeed after each analysis
  1513.         LINEFEED ON | OFF            Linefeed after carriage return
  1514.         ASCII ON | OFF               Extended ASCII to printer
  1515.         MORE ON | OFF                Pause after each screen
  1516.         PRINTER ON | OFF             Open/close printer log
  1517.         LISTING filename             Specify the listing filename
  1518.         DISK ON | OFF                Open/close disk log
  1519.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1520.      SHELL [string];
  1521.  
  1522.         Description:  The  SHELL  command   temporarily  suspends  the
  1523.         execution of the batch program to run a DOS program or a batch
  1524.         file.  When used alone, the SHELL command invokes a DOS  shell
  1525.         allowing the user  to execute DOS commands or  other programs.
  1526.         Use the EXIT command to resume your program.
  1527.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1528.      SIGN varlist BY varlist [/ options];
  1529.  
  1530.         Description: The SIGN test procedure tests the hypothesis that
  1531.         two variables have the same distribution. This is assessed  by
  1532.         comparison of the numbers of positive and negative differences
  1533.         between the two variables.  The probability test performed can
  1534.         be either one- or two-tailed.
  1535.  
  1536.         Options:
  1537.  
  1538.            1TAIL | 2TAIL             Direction of the test
  1539.            PANEL                     Display the options panel
  1540.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1541.      SOUND [options];
  1542.  
  1543.         Description: The SOUND command  generates a sound  through the
  1544.         computer's speakers.  When  used alone, this command generates
  1545.         a short sound of 220 hertz during 1 second.  Another frequency
  1546.         in hertz  can be  specified  by providing  a value  between  1
  1547.         through  32,767.    The duration  can  be  set in  millisecond
  1548.         between 1 and 30000  (30 seconds).  Setting the  duration to 0
  1549.         millisecond generates a sound that will continue until another
  1550.         SOUND command  is issued or  until turned  off by a  SOUND OFF
  1551.         command.
  1552.  
  1553.         Options:
  1554.  
  1555.             OFF                      Turn the speaker off
  1556.             F=integer                Frequency in hertz
  1557.             D=integer                Duration in millisecond
  1558.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1559.      STOP
  1560.  
  1561.         Description: Immediately stops the batch command and return to
  1562.         the SIMSTAT user interface.
  1563.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1564.      TITLE string;
  1565.  
  1566.         Description: The TITLE option is used to  specify a title line
  1567.         that will be printed at the top of each analysis.
  1568.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1569.      T-TEST varlist BY varlist [/ options];
  1570.  
  1571.         Description: The T-TEST command calculates either independent-
  1572.         sample  t-tests  (GROUP)  or  paired-sample  t-tests  (PAIRED) 
  1573.     to  decide   whether  two  sample   means  are   significantly
  1574.         different.  The paired-sample (or correlated) t-test  compares
  1575.         the  means  between each  pair  of  dependent and  independent
  1576.         variables.    The independent  t-test  compares  means on  the
  1577.         dependent  variable for  two groups defined  by values  of the
  1578.         independent variable.  SIMSTAT  provides two distinct tests to
  1579.         take  into account whether the two  populations from which the
  1580.         samples  are drawn have equal  or unequal variances.   You can
  1581.         also specify  whether the null hypothesis  should be evaluated
  1582.         using a one- or a two-tailed test.
  1583.  
  1584.         Options:
  1585.  
  1586.            GROUP | PAIRED            Grouped or paired t-test
  1587.            VALUE (int, int)          Values of X
  1588.            CI=integer                Confidence interval width
  1589.            1TAIL | 2TAIL             Direction of the test
  1590.            BARCHART                  Barchart
  1591.              CIBAR                     Confidence interval
  1592.              | SE                      Standard error
  1593.              | SD                      Standard deviation
  1594.            ERRORCHART                Error bar graph
  1595.              CIBAR                     Confidence interval
  1596.              | SE                      Standard error
  1597.              | SD                      Standard deviation
  1598.            HISTO                     Dual histogram
  1599.              NBAR=integer              Number of bars
  1600.              VERTICAL                  Vertical orientation
  1601.              NORMAL                    Normal curve
  1602.            PANEL                     Display the options panel
  1603.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1604.      TIME-SERIES varlist [/ options];
  1605.  
  1606.         Description: The TIME-SERIES command allows the examination of
  1607.         time  series.   The options  offer various  transformations to
  1608.         remove trends or  seasonal dependence in a series and provides
  1609.         a   diagnostic  for   those   transformations  by   displaying
  1610.         autocorrelation and partial autocorrelation function  plots of
  1611.         the  transformed  series.     This  command  also  allows  the
  1612.         application of two smoothing  methods (i.e. moving average and
  1613.         running median) to identify trends  in noisy time series data.
  1614.         Control bars  representing the mean and  the confidence limits
  1615.         can also be displayed over the series.
  1616.  
  1617.         Options:
  1618.  
  1619.            LOG                       Log transformation
  1620.            MEAN                      Remove the mean
  1621.            DIFF=integer              Number of differencing
  1622.            SEASON=integer            Length of seasonnality
  1623.            PLOT [=T | =G]            Plot the series
  1624.            ACF                       Autocorrelation function
  1625.            PACF                      Partial autocorrelation function
  1626.            LAG=integer               Nb of lags for ACF and PACF
  1627.            Type of smoothing
  1628.            MAVG (int int...)           Moving average
  1629.            | RMED (int int...)         Running median
  1630.            RBAR                      Control bars
  1631.              PCT=integer               Width of interval
  1632.              LOW=integer               Lower value
  1633.              HIGH=integer              Higher value
  1634.            PANEL                     Display the options panel
  1635.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1636.      WEIGHT [variable];
  1637.  
  1638.         Description:  The WEIGHT command  allows  you  to designate  a
  1639.         weighting variable.  When used alone, the weighting  if turned
  1640.         off.
  1641.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1642.      WILCOXON varlist BY varlist [/ options];
  1643.  
  1644.         Description: The WILCOXON matched-pairs signed-ranks test is a
  1645.         procedure  used to test whether two  related samples have been
  1646.         drawn from  the  same  population.  Like  the  sign  test,  it
  1647.         computes the  difference between  the two variables  but takes
  1648.         into  account the magnitude  as well  as the direction  of the
  1649.         differences.   The   Wilcoxon   signed-ranks   test   is   the
  1650.         nonparametric version  of the t-test for paired  samples.  The
  1651.         probability test performed can be either one- or two-tailed.
  1652.  
  1653.         Options:
  1654.  
  1655.            1TAIL | 2TAIL             Direction of the test
  1656.            PANEL                     Display the options panel
  1657.      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1658.